GrapeCity MultiRow Windows Forms Documentation
AddRange(Object[]) Method


One or more objects that represent items for the drop-down list. -or- A System.Array of System.Object values.
Adds one or more items to the list of items for a ComboBoxCell.
Syntax
Public Overloads Sub AddRange( _
   ByVal ParamArray items() As Object _
) 
Dim instance As ComboBoxCell.ObjectCollection
Dim items() As Object
 
instance.AddRange(items)
public void AddRange( 
   params object[] items
)

Parameters

items
One or more objects that represent items for the drop-down list. -or- A System.Array of System.Object values.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionThe cell's ListCell.DataSource property value is not a null reference (Nothing in Visual Basic).
System.ArgumentExceptionOne of the items in the items array is a null reference (Nothing in Visual Basic).
System.ArgumentNullExceptionThe items parameter is a null reference (Nothing in Visual Basic).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ComboBoxCell.ObjectCollection Class
ComboBoxCell.ObjectCollection Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.